package com.alks.entity.data.entity;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * ClassName: PcStitchProdDetail
 * Package: com.alks.entity.data.entity
 * Description:
 *
 * @Author 蹇泽阳
 * @Create 2024/2/23 13:56
 * @Version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_STITCH_PROD_DETAIL")
@ApiModel(value="PcStitchProdDetail对象", description="")
public class PcStitchProdDetail {
    private String companyId;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    @DateTimeFormat("yyyy/MM/dd")
    private Date slipDate;

    private String lotNo;

    private String style;

    private BigDecimal seqNo;

    private String processName;

    private String workId;

    private String workName;

    private String idNo;

    private BigDecimal qty;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    @DateTimeFormat("yyyy/MM/dd")
    private Date sysDate;

    private String sysUser;

    private String deptName;

    private BigDecimal price;

    private BigDecimal amt;

    private String cfmFlag;

    private String cfmUser;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    @DateTimeFormat("yyyy/MM/dd")
    private Date cfmDate;

    private String developmentNo;

    private String orderSeq;

    private String color;

    private String deptNo;

    private String workDeptNo;

    private String workDeptName;

    private BigDecimal orderType;

    private String financeYymm;

    private String financeDate;

    private String financeUser;

    private String checkFlag;

    private String accountName;

    private String balanceNo;

    private String remark;

    @ApiModelProperty(value = "版本号")
    @Version
    private int version;
}
